<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css文本外观之装饰文本</title>
    <style>
        div {
            /* underline 下划线 */
            /* text-decoration: underline; */
            /* lin-through 删除线 */
            /* text-decoration: line-through; */
            /* 上划线 overline */
            text-decoration: overline;
           
        }
        a {
             /* none 取消下划线 常用于取消文字链接下面的线 */
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div>难忘的回忆</div>
    <a href="#">这是一个链接</a>
</body>
</html>